package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该车辆当天报警时间内的最大速
 */
public class CarViolationMaxSpeedKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String CAR_VIOLATION_MAX_SPEED_KEY_PREFIX = "CAR_VIOLATION_MAX_SPEED_KEY_TODAY_";

    private CarViolationMaxSpeedKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static CarViolationMaxSpeedKeyToday token = new CarViolationMaxSpeedKeyToday(TOKEN_EXPIRE, CAR_VIOLATION_MAX_SPEED_KEY_PREFIX);
}
